package odgs.transaction;

import odgs.Contents;
import odgs.Transaction;

public class ContentsRemoveTransaction extends Transaction
{
	private Contents dest;

	public ContentsRemoveTransaction(long id)
	{
		super(id);
	}

	public void setDest(Contents dest)
	{
		this.dest = dest;
	}

	public Contents getDest()
	{
		return dest;
	}

	@Override
	public String getName()
	{
		return "ContentsRemoveTransaction";
	}

	@Override
	public boolean isFileTrans()
	{
		return false;
	}
	
	@Override
	public String toString()
	{
		return "Delete Contents : "  + dest.getName();
	}
}